package workflow.model;

//流程实例类
public class ProcessInstance {
	public static String STATUS_EXEING = "1";
	
	public static String STATUS_FINISH = "0";
	
    /**ID*/
    private Long id;

    /**流程定义ID*/
    private Long proDefId;

    /**流程名称*/
    private String name;

    /**流程定义*/
    private String processXml;

    /**创建人*/
    private Long creator;

    /**创建时间*/
    private java.util.Date createDate;

    /**状态  0-已完成 1-执行中*/
    private String status;
    
    /**流程发起人*/
    private String creatorName;
    
    /**进度，百分比*/
    private String percent;

    public void setId(Long id){
      this.id = id;
    }

    public Long getId(){
      return this.id;
    }

    public void setProDefId(Long proDefId){
      this.proDefId = proDefId;
    }

    public Long getProDefId(){
      return this.proDefId;
    }

    public void setName(String name){
      this.name = name;
    }

    public String getName(){
      return this.name;
    }

    public void setProcessXml(String processXml){
      this.processXml = processXml;
    }

    public String getProcessXml(){
      return this.processXml;
    }

    public void setCreator(Long creator){
      this.creator = creator;
    }

    public Long getCreator(){
      return this.creator;
    }

    public void setCreateDate(java.util.Date createDate){
      this.createDate = createDate;
    }

    public java.util.Date getCreateDate(){
      return this.createDate;
    }

    public void setStatus(String status){
      this.status = status;
    }

    public String getStatus(){
      return this.status;
    }

	public String getCreatorName() {
		return creatorName;
	}

	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}

	public String getPercent() {
		return percent;
	}

	public void setPercent(String percent) {
		this.percent = percent;
	}

}